package com.h3c.nem.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: SdAllWorker
 *
 * @Author: l22886
 * @Date: 2022-01-19
 * Description: sd_all_worker 实体
 * Version: 1.0
 */
@ApiModel(value="SdAllWorker对象", description="")
@Table(name = "sd_all_worker")
public class SdAllWorker {

    @JSONField(name = "emp_code")
    @Column(name = "worker_id")
    @TableId
    private String workerId;

    @Column(name = "worker_name")
    @JSONField(name = "emp_name")
    private String workerName;

    @JSONField(name = "dept1_code")
    @Column(name = "dept1id")
    private Integer dept1id;

    @Column(name = "dept2id")
    @JSONField(name = "dept2_code")
    private Integer dept2id;

    @Column(name = "dept3id")
    @JSONField(name = "dept3_code")
    private Integer dept3id;

    @Column(name = "dept4id")
    private Integer dept4id;

    @Column(name = "direct_dept_id")
    @JSONField(name = "dept_code")
    private Integer directDeptId;

    @Column(name = "post_type")
    @JSONField(name = "post_categories_1")
    private String postType;

    @Column(name = "post_level")
    private String postLevel;

    @Column(name = "post_type_level")
    @JSONField(name = "zlevel")
    private String postTypeLevel;

    @Column(name = "job_type")
    @JSONField(name = "post_categories_1")
    private String jobType;

    @Column(name = "job_level")
    @JSONField(name = "plevel")
    private String jobLevel;

    @Column(name = "job_level_name")
    @JSONField(name = "position_level")
    private String jobLevelName;

    @Column(name = "job_type_level")
    private String jobTypeLevel;

    @Column(name = "sync_time")
    private Date syncTime;

    @Column(name = "email")
    @JSONField(name = "email")
    private String email;

    @Column(name = "domain_account")
    private String domainAccount;

    @Column(name = "lock_flag")
    private String lockFlag;

    @ApiModelProperty(value = "拼音姓名")
    @Column(name = "display_name")
    private String displayName;

    @ApiModelProperty(value = "干部层级")
    @Column(name = "leader_level")
    private String leaderLevel;

    @ApiModelProperty(value = "入职日期")
    @JSONField(name = "entry_date")
    @Column(name = "join_date")
    private Date joinDate;

    @ApiModelProperty(value = "年龄")
    @Column(name = "age")
    private Integer age;

    @ApiModelProperty(value = "工作履行地")
    @Column(name = "work_city")
    private String workCity;

    @ApiModelProperty(value = "外派工作地")
    @Column(name = "outer_city")
    private String outerCity;

    @ApiModelProperty(value = "身份证前六位")
    @Column(name = "certificate_no_top_six")
    private String certificateNoTopSix;

    @ApiModelProperty(value = "办公区域")
    @Column(name = "site")
    private String site;

    @ApiModelProperty(value = "最高学历毕业院校")
    @Column(name = "graduate_school")
    private String graduateSchool;

    @ApiModelProperty(value = "模拟账号的登录人域账号")
    @Column(name = "lock_account")
    private String lockAccount;

    @ApiModelProperty(value = "员工类型：1 正式员工；2 合作员工")
    @Column(name = "worker_type")
    private Integer workerType;

    @ApiModelProperty(value = "手机号码")
    @Column(name = "phone_no")
    private String phoneNo;

    public String getWorkCity() {
        return workCity;
    }

    public void setWorkCity(String workCity) {
        this.workCity = workCity;
    }

    public String getCertificateNoTopSix() {
        return certificateNoTopSix;
    }

    public void setCertificateNoTopSix(String certificateNoTopSix) {
        this.certificateNoTopSix = certificateNoTopSix;
    }

    public String getSite() {
        return site;
    }

    public void setSite(String site) {
        this.site = site;
    }

    public String getGraduateSchool() {
        return graduateSchool;
    }

    public void setGraduateSchool(String graduateSchool) {
        this.graduateSchool = graduateSchool;
    }

    public Integer getWorkerType() {
        return workerType;
    }

    public void setWorkerType(Integer workerType) {
        this.workerType = workerType;
    }

    public String getLockAccount() {
        return lockAccount;
    }

    public void setLockAccount(String lockAccount) {
        this.lockAccount = lockAccount;
    }

    public String getOuterCity() {
        return outerCity;
    }

    public void setOuterCity(String outerCity) {
        this.outerCity = outerCity;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public String getWorkerId() {
        return workerId;
    }

    public void setWorkerId(String workerId) {
        this.workerId = workerId;
    }

    public String getWorkerName() {
        return workerName;
    }

    public void setWorkerName(String workerName) {
        this.workerName = workerName;
    }

    public Integer getDept1id() {
        return dept1id;
    }

    public void setDept1id(Integer dept1id) {
        this.dept1id = dept1id;
    }

    public Integer getDept2id() {
        return dept2id;
    }

    public void setDept2id(Integer dept2id) {
        this.dept2id = dept2id;
    }

    public Integer getDept3id() {
        return dept3id;
    }

    public void setDept3id(Integer dept3id) {
        this.dept3id = dept3id;
    }

    public Integer getDept4id() {
        return dept4id;
    }

    public void setDept4id(Integer dept4id) {
        this.dept4id = dept4id;
    }

    public Integer getDirectDeptId() {
        return directDeptId;
    }

    public void setDirectDeptId(Integer directDeptId) {
        this.directDeptId = directDeptId;
    }

    public String getPostType() {
        return postType;
    }

    public void setPostType(String postType) {
        this.postType = postType;
    }

    public String getPostLevel() {
        return postLevel;
    }

    public void setPostLevel(String postLevel) {
        this.postLevel = postLevel;
    }

    public String getPostTypeLevel() {
        return postTypeLevel;
    }

    public void setPostTypeLevel(String postTypeLevel) {
        this.postTypeLevel = postTypeLevel;
    }

    public String getJobType() {
        return jobType;
    }

    public void setJobType(String jobType) {
        this.jobType = jobType;
    }

    public String getJobLevel() {
        return jobLevel;
    }

    public void setJobLevel(String jobLevel) {
        this.jobLevel = jobLevel;
    }

    public String getJobLevelName() {
        return jobLevelName;
    }

    public void setJobLevelName(String jobLevelName) {
        this.jobLevelName = jobLevelName;
    }

    public String getJobTypeLevel() {
        return jobTypeLevel;
    }

    public void setJobTypeLevel(String jobTypeLevel) {
        this.jobTypeLevel = jobTypeLevel;
    }

    public Date getSyncTime() {
        return syncTime;
    }
    public void setSyncTime(Date syncTime) {
        this.syncTime = syncTime;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getDomainAccount() {
        return domainAccount;
    }

    public void setDomainAccount(String domainAccount) {
        this.domainAccount = domainAccount;
    }

    public String getLockFlag() {
        return lockFlag;
    }

    public void setLockFlag(String lockFlag) {
        this.lockFlag = lockFlag;
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public String getLeaderLevel() {
        return leaderLevel;
    }

    public void setLeaderLevel(String leaderLevel) {
        this.leaderLevel = leaderLevel;
    }

    public Date getJoinDate() {
        return joinDate;
    }
    public void setJoinDate(Date joinDate) {
        this.joinDate = joinDate;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "SdAllWorker{" +
                "workerId=" + workerId +
                ", workerName=" + workerName +
                ", dept1id=" + dept1id +
                ", dept2id=" + dept2id +
                ", dept3id=" + dept3id +
                ", dept4id=" + dept4id +
                ", directDeptId=" + directDeptId +
                ", postType=" + postType +
                ", postLevel=" + postLevel +
                ", postTypeLevel=" + postTypeLevel +
                ", jobType=" + jobType +
                ", jobLevel=" + jobLevel +
                ", jobLevelName=" + jobLevelName +
                ", jobTypeLevel=" + jobTypeLevel +
                ", syncTime=" + syncTime +
                ", email=" + email +
                ", domainAccount=" + domainAccount +
                ", lockFlag=" + lockFlag +
                ", displayName=" + displayName +
                ", leaderLevel=" + leaderLevel +
                ", joinDate=" + joinDate +
                ", age=" + age +
                ", workerType=" + workerType +
                ", outerCity=" + outerCity +
                ", phoneNo=" + phoneNo +

                "}";
    }
}
